Skip to content

Conversation

@julio-indriago-cko
Copy link
Contributor

@julio-indriago-cko julio-indriago-cko commented Jan 13, 2026

This PR has been automatically generated. Please review it and merge it if everything is fine.

Caution

This is a BREAKING CHANGE.
As a result, the SDK removes support for several deprecated endpoints and related resources. Code using these endpoints will need to be updated.

This change adds support for the riskified external fraud tool and removes unused endpoints:

1. Add riskified attribute to InvoiceExternalFraudTools

This change adds support for the riskified external fraud tool attribute in the InvoiceExternalFraudTools class, following the same pattern as existing fraud tool attributes (forter, ravelin, signifyd).

The implementation includes:

  • Initialization of _riskified attribute in __init__
  • Property getter and setter methods for riskified
  • Support for riskified in fill_with_data() method
  • Inclusion of riskified in to_json() serialization

2. Remove non-existent endpoints and related resources

The following endpoints and their associated resources have been removed as they are no longer supported by the API:

  • /activities - Activity class and new_activity() method
  • /coupons - Coupon class and new_coupon() method
  • /customers/:id/subscriptions - Customer.fetch_subscriptions() method and subscriptions attribute
  • /discounts - Discount class
  • /plans - Plan class and new_plan() method
  • /subscriptions - Subscription class, new_subscription() method, and related subscription attributes from Transaction and Customer
  • /addons - Addon class and new_addon() method
  • Supervised projects endpoints - Removed from Project class

Files removed:

  • processout/activity.py
  • processout/addon.py
  • processout/coupon.py
  • processout/discount.py
  • processout/plan.py
  • processout/subscription.py

Files modified:

  • processout/client.py - Removed factory methods for deleted resources
  • processout/customer.py - Removed subscriptions attribute and fetch_subscriptions() method
  • processout/transaction.py - Removed subscription and subscription_id attributes
  • processout/__init__.py - Removed imports for deleted classes
  • processout/project.py - Removed supervised projects endpoints

3. Additional changes

This release also includes various other updates:

  • Added preferred_card_type to CardCreateRequest and CardUpdateRequest
  • Added vault_id to Customer and Token
  • Added threeds_sdk and platform to Device
  • Added origin to Transaction
  • Added capture_type to TransactionOperation
  • Added split_payments to UnsupportedFeatureBypass
  • Updated version to 9.0.0

BREAKING CHANGE: Removal of subscriptions, activity, addon, coupon, discount, plan, in customer, transaction and , projects endpoints.

@julio-indriago-cko julio-indriago-cko requested a review from a team as a code owner January 13, 2026 16:03
@julio-indriago-cko julio-indriago-cko requested review from leo-bishop-cko and removed request for a team January 13, 2026 16:03
@julio-indriago-cko julio-indriago-cko changed the title BREAKING CHANGE: Add riskified as supported external fraud tool; removes unused endpoints. feat(python-sdk): Add riskified as supported external fraud tool; removes unused endpoints. Jan 13, 2026
@julio-indriago-cko julio-indriago-cko merged commit cba0610 into master Jan 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants